package com.jun.flower.bean;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class TbOrders {
    private Integer id;

    private String oredernum;

    private Integer userId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date ordertime;

    private String address;

    private Integer paytype;

    private String receiver;

    private Integer receiverphone;

    private String message;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOredernum() {
        return oredernum;
    }

    public void setOredernum(String oredernum) {
        this.oredernum = oredernum == null ? null : oredernum.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getOrdertime() {
        return ordertime;
    }

    public void setOrdertime(Date ordertime) {
        this.ordertime = ordertime;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Integer getPaytype() {
        return paytype;
    }

    public void setPaytype(Integer paytype) {
        this.paytype = paytype;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver == null ? null : receiver.trim();
    }

    public Integer getReceiverphone() {
        return receiverphone;
    }

    public void setReceiverphone(Integer receiverphone) {
        this.receiverphone = receiverphone;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }
}